package com.hibernate.domain;

public class ClassesView {
	
	private String cname ; //班级名称
	private String sname ; //学生名称
	
	public ClassesView() {
		super();
	}
	
	public ClassesView(String cname, String sname) {
		super();
		this.cname = cname;
		this.sname = sname;
	}

	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}

	@Override
	public String toString() {
		return "ClassesView [cname=" + cname + ", sname=" + sname + "]";
	}
	

}
